package com.dingding.service.user.facade.order;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.facade.user.dto.order.ReqGetAllCityWideUserDTO;
import com.dingding.facade.user.dto.order.ResGetAllCityWideUserDTO;
import com.dingding.facade.user.facade.order.IOrderUserFacade;
import com.dingding.service.user.core.order.service.IOrderUserService;

/**
 * 
 * @ClassName: OrderUserFacadeImpl 
 * @Description: TODO(这里用一句话描述这个类的作用) 
 * @author CHEHAUNBO 
 * @date 2016年8月8日 下午2:24:28
 */
@Component("orderUserFacade")
public class OrderUserFacadeImpl implements IOrderUserFacade {

	@Resource(name = "orderUserService")
	private IOrderUserService orderUserService;

	/**
	 * 
	 * 获取所有的同城用户,同城推送用
	 * 
	 * @Title: getAllCityWideUserByCity 
	 * @author CHEHAUNBO
	 * @since V2.4.0
	 * 
	 */
	@Override
	public List<ResGetAllCityWideUserDTO> getAllCityWideUserByCity(ReqGetAllCityWideUserDTO reqGetAllCityWideUserDTO) {
		return orderUserService.getAllCityWideUserByCity(reqGetAllCityWideUserDTO);
	}

}
